<html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>测试</title>
        <SCRIPT LANGUAGE="JavaScript">
            <!--
                function fsubmit()
                {
                	if(theForm.page[0].checked)
                	{
                		theForm.action="test.jsp"
                	}
                	else if(theForm.page[1].checked)
                	{
                		theForm.action="/Test/test"
                	}
                }
            //-->
        </SCRIPT>
    </head>
    <body>
        这是HTML页面测试
        <form name="theForm" action="" method="post" onClick="fsubmit()">
            <input type="radio" name="page">JSP页面<p>
            <input type="radio" name="page">Servletҳ页面<p>
            输入测试内容<input type="text" name="content"><p>
            <input type="submit" value="提交">
        </form>
    </body>
</html>